package constant

const StaticDir = "./static"
const MDFileDir = StaticDir + "/markdown"
const DMInfosFile = MDFileDir + "/fileInfos.json"

type MDFile struct {
	Id        int       `json:"id"`
	Name      string    `json:"name"`
	FileName  string    `json:"file_name"`
	FileSize  int64     `json:"file_size"`
	Sort      int       `json:"sort"`
	ModTime   int64     `json:"create_time"`
	Disable   int       `json:"disable"`
	IsDir     uint      `json:"is_dir,omitempty"`
	ChildList []*MDFile `json:"child_list,omitempty"`
}
